//
//  UIView+Crazy_extension.h
//  webSocket
//
//  Created by 马军凯 on 2019/1/14.
//  Copyright © 2019年 ZH. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Crazy_extension)

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;

//剪切
- (void)corner_radius:(CGFloat)height;
//边框
- (void)px_border:(CGFloat)width color:(UIColor *)color;

@end
